package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * 服务层
 */
public interface IUserService {
    void saveOrUpdate(User user);

    Map<String, Object> login(User user);

    PageInfo<User> query(QueryObject queryObject);

    User getUserById(Long id);

}
